<div id="news">
    <?php foreach($news as $post): ?>
    <div class="post">
        <?php
        echo $post['title'].'<br />';
        echo $post['text'].'<br />';
        ?>
    </div>
        <?php endforeach; ?>
</div>
<div id="sidebar">
    lalal
</div>